import {NgModule} from '@angular/core';
import {MaterialModule} from '../shared/material.module';
import {CustomerListComponent} from './customer-list/customer-list.component';
import {FormsModule} from '@angular/forms';
import {CommonModule} from '@angular/common';
import {CustomersRoutingModule} from './customers-routing.module';
import {ConfirmDialogComponent} from '../core/confirm-dialog/confirm-dialog.component';
import {CoreModule} from '../core/core.module';
import {FlexLayoutModule} from '@angular/flex-layout';
import { CustomerDetailComponent } from './customer-detail/customer-detail.component';
import {CustomerService} from './shared/customer.service';

@NgModule({
  imports: [
    FormsModule,
    CommonModule,
    MaterialModule,
    FlexLayoutModule,
    CoreModule,
    CustomersRoutingModule
  ],
  declarations: [
    CustomerListComponent,
    CustomerDetailComponent,
  ],
  providers: [
    CustomerService
  ],
  entryComponents: [
    ConfirmDialogComponent
  ]
})

export class CustomersModule {}
